#include <Ripper.h>
#include <Ice/Ice.h>
#include <lame/lame.h>

class Mp3EncoderI:
public Ripper::Mp3Encoder
{
 public:

  Mp3EncoderI(int,
	      int);
  ~Mp3EncoderI();
  virtual ::Ice::ByteSeq encode(const ::Ice::ShortSeq&,
				const ::Ice::ShortSeq&,
				const ::Ice::Current&);
  virtual ::Ice::ByteSeq flush(const ::Ice::Current&);

 private:
  lame_global_flags* _gfp;
  Ice::ByteSeq _data;
};
